//
//  NSObject+Paths.m
//  Hm01
//
//  Created by mac on 16/8/21.
//  Copyright © 2016年 itheima. All rights reserved.
//

#import "NSString+Paths.h"

@implementation NSString (Paths)
-(NSString *)hm_appendPathString
{
    NSString *path = [NSSearchPathForDirectoriesInDomains(NSCachesDirectory, NSUserDomainMask, YES) lastObject];
    NSString *nameStr = [self lastPathComponent];
    
    return [path stringByAppendingString:nameStr];
}
@end
